package com.xyht.sca_s.student_manage_system.modules.assetFixedRepair.entity.dto;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_fixed_repair_apply")
@ApiModel(value="SmsAssetFixedRepairApply对象", description="")
public class SmsAssetFixedRepairApplyMPJDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String applyId;

    @ApiModelProperty(value = "申请人id")
    private String applyUserId;

    @ApiModelProperty(value = "流程节点id")
    private String detailId;

    @ApiModelProperty(value = "审批人id")
    private String allowUserId;

    @ApiModelProperty(value = "申请单据标题")
    private String applyName;

    @ApiModelProperty(value = "申请维修图片")
    private String applyPic;

    @ApiModelProperty(value = "保修问题")
    private String applyRepairQuestion;

    @ApiModelProperty(value = "申请备注")
    private String applyRemark;


    @TableLogic
    private Integer isDeleted;


    @ApiModelProperty(value = "审批状态：0：审批中，1：通过，2：驳回，3：撤回")
    private Integer allowStatus;

    @ApiModelProperty(value = "申请结束时间")
    private Date endTime;

    @ApiModelProperty(value = "申请结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date applyEndTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date applyCreateTime;

    @ApiModelProperty(value = "审批状态：0：审批中  1：通过   2：驳回   3：撤回结束  4：驳回结束")
    private Integer processDetailStatus;

    @ApiModelProperty(value = "审批备注")
    private String processDetailRemark;


}
